﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using StoreManagementSystem.DomainObjects;

namespace StoreManagementSystem.Map
{
    public partial class Default : System.Web.UI.Page
    {
        StoreUser user;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["loggeduser"] != null)
            {
                user = (StoreUser)Session["loggeduser"];
                multiviewMap.SetActiveView(loggedin);
            }
            else
            {
                multiviewMap.SetActiveView(anon);
            }
        }
    }
}